<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false"%>
<html>
	<head>
	

		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
        <script type="text/javascript">
            function treeBM(){

        window.open('__tag_30$15_department_shoowDepatement');
}

</script>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>修改部门</title>
		<link rel="stylesheet"
			href="../styles/style.css" type="text/css" />
		<link
			href="../styles/calendar-win2k-cold-1.css"
			rel="stylesheet" type="text/css" title="win2k-cold-1" />
		

	</head>
	<body>

			<input type="hidden" name="bz" value="update">
			<div id="main_body">
				<!-- **************************************************************-->
				<ul class="main_top">
					<li class="main_top_left left">
						修改部门
					</li>
					<li class="main_top_right right"></li>
				</ul>
				<div class="main_content_rightbg">
					<div class="main_content_leftbg">
						<input type="hidden" name="department.departmentId"
							value="1">
						<input type="hidden" name="department.status"
							value="1">
                        <form name="form1" method="post" action="${pageContext.request.contextPath}/modifyDept">
						<table width="98%" border="0" align=center cellpadding="2"
							cellspacing="1" bgcolor="#FFFFFF" class="border">
                            <tr>
                                <td width="20%" align="left" class="tdbg">
                                    <strong>ID</strong>
                                </td>
                                <td width="80%" align="left" class="tdbg">
                                    <INPUT type="text" name="id" value="${deptInfo.id}" readonly/>
                                    <strong class="red" style="font-size: 16px">*</strong>
                                </td>
                            </tr>

							<tr>
								<td width="20%" align="left" class="tdbg">
									<strong>部门名称</strong>
								</td>
								<td width="80%" align="left" class="tdbg">
									<INPUT type="text" value="${deptInfo.department_name}" name="department_name"/>
									<strong class="red" style="font-size: 16px">*</strong>
								</td>
							</tr>

                            <tr>
								<td width="20%" align="left" class="tdbg">
									<strong>部门编号</strong>
								</td>
								<td width="80%" align="left" class="tdbg">
									<INPUT type="text" value="${deptInfo.department_parent}" name="department_parent" readonly/>
									<strong class="red" style="font-size: 16px">*</strong>
								</td>
							</tr>

							<tr>
								<td width="20%" align="left" class="tdbg">
									<strong>部门电话</strong>
								</td>
								<td width="80%" align="left" class="tdbg">
									<INPUT value="${deptInfo.department_phone}" name="department_phone"/>
							</tr>

							<tr>
								<td width="20%" align="left" class="tdbg">
									<strong>部门传真</strong>
								</td>
								<td width="80%" align="left" class="tdbg">
									<INPUT value="${deptInfo.department_fax}" name="department_fax"/>
								</td>
							</tr>

							<tr>
								<td width="20%" align="left" class="tdbg">
									<strong>所属部门(上级部门)</strong>
								</td>
								<td width="80%" align="left" class="tdbg">
									<%--<INPUT type="hidden" value="${deptInfo.department_no}" name="department_no" readonly/>--%>

									<%--<input type="text" value="${deptInfo.department_no}" name="departmentno" />--%>
									<input type="text" name="departmentno" value="${deptInfo.department_no}">
									<input type="button" name="button" value="选择" class=onclick="treeBM()" />

									<strong class="red" style="font-size: 16px">*</strong>
								</td>
							</tr>

							<tr>
								<td width="20%" align="left" class="tdbg">
									<strong>部门职能</strong>
								</td>
								<td width="80%" align="left" class="tdbg">
									<INPUT value="${deptInfo.department_remark}" name="department_remark"/>
									<strong class="red" style="font-size: 16px">*</strong>
								</td>
							</tr>


							<tr>
								<td align="left" class="tdbg">
									&nbsp;
								</td>
								<td align="left" class="tdbg">
									<input type="hidden" name="type"
										value="01">
									<INPUT id="Button1" type="submit" value="确定" name="Button1"
                                           onClick="return validateInput()">
									&nbsp;&nbsp;
									<INPUT id="Button2" type="button" value="取消" name="Button2"
										class="newButton"
										onClick="window.history.go(-1)">
								</td>
							</tr>
						</table>
                        </form>
					</div>
				</div>
				<ul class="main_end">
					<li class="main_end_left left"></li>
					<li class="main_end_right right"></li>
				</ul>
			</div>

	</body>
</html>
